import request from '@/utils/request'

// 列表查询
const tableList = function (params = {}) {
  return request({
    url: '/zy-api/api/residential/findList',
    method: 'post',
    data: params
  })
}

// 新增
const addData = function (params = {}) {
  return request({
    url: '/zy-api/api/residential/add',
    method: 'post',
    data: params
  })
}

// 修改
const editData = function (params = {}) {
  return request({
    url: '/zy-api/api/residential/update',
    method: 'post',
    data: params
  })
}

// 删除
const delData = function (params = {}) {
  return request({
    url: '/zy-api/api/residential/delete',
    method: 'post',
    data: params
  })
}

// 审核
const auditHandle = function (params = {}) {
  return request({
    url: '/zy-api/api/residential/Review',
    method: 'post',
    data: params
  })
}



export {
  tableList,
  addData,
  editData,
  delData,
  auditHandle
}